package com.wing.product.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.common.utils.JsonResult;
import com.wing.product.model.entity.WarehouseProductionOrder;
import com.wing.product.model.response.WarehouseProductionOrderVO;

import java.util.Map;

public interface WarehouseProductionOrderService extends IService<WarehouseProductionOrder> {

    Page<WarehouseProductionOrderVO> pageList4app(Page page, Map<String, Object> params);

    WarehouseProductionOrderVO selectProductionDetail(Integer state,String id);

    JsonResult saveWarehouseProductionOrder(WarehouseProductionOrderVO warehouseProductionOrderVO);

    JsonResult updateProduction(String id,String status);

    JsonResult updateProductionOrder(WarehouseProductionOrderVO warehouseProductionOrderVO);

    JsonResult<Map<Object, Object>> selectOrderTrend();

    JsonResult<Map<Object, Object>> selectProductionOrderTrend();
}
